
<template>
    <Button  type="primary" v-permission="'btnModify'" size="small" class="margin-right-5"  @click="clickHandler" :disabled="status === '待审核' || status === '审核通过' || status === '已归档'">
      修改
    </Button>
</template>

<script>
  export default {
    accessLabel: '修改行',
    accessKey: 'btnModify',
    props:{
      status:String,
      required: true
    },
    methods: {
      clickHandler () {
        this.$emit('modifyClick');
      }
    },
    mounted () {
    },
    created () {
    },
  };
</script>
